package cn.donghuapian.component;

import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: hzw
 * @time: 2024/11/7 16:44
 */
@Component
public class XxlJobHandler extends IJobHandler{

    @XxlJob("demoHandler")
    @Override
    public void execute() {
        System.out.println("test job");
    }
}
